package com.xpu.pms.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;
import java.util.UUID;

@RestController
public class SysLoginController {

    @PostMapping("/login")
    public Map<String,String> login() {
        Map<String,String> map=new HashMap<>();
        map.put("uuid", UUID.randomUUID().toString());
        map.put("token","123123");

        return map;
    }
}
